//	Project:	HexTower
//	File:		Cursor.h
//	Author:		Mustafa Aldoori
//	Purpose:	Cursor Class to handle the Mouse cursor when exclusive to the Game.

#pragma once

#include "Game.h"

class CCursor
{
private:
	int		m_nCursorImage;
	float	m_fRotateCursor;
	bool	m_bRenderCursor;
	POINT	m_lCursorPosition;

	CCursor( void );
	CCursor( const CCursor& );
	CCursor& operator=( const CCursor& );
	virtual ~CCursor( void );

	int		GetCursorImageID( void ) const		{ return m_nCursorImage; }
	float	GetCursorRotation( void ) const		{ return m_fRotateCursor; }

public:
	// Singleton
	static CCursor* GetInstance( void );

	void	Update( float felapsed );
	void	Render( void );

	long	GetCursorXPosition( void )	const { return m_lCursorPosition.x; }
	long	GetCursorYPosition( void )	const { return m_lCursorPosition.y; }
	void	SetCursorImage( int nImageID )	  { m_nCursorImage = nImageID;	}
	void	SetCursorRotationFloat( float fRotate )	  { m_fRotateCursor = fRotate;	}
	bool	GetRenderBool( void )	{ return m_bRenderCursor; }
	void	SetRenderBool( bool bRender ) { m_bRenderCursor = bRender; }
	
};

